package com.guan.springmvc.demo;

import lombok.*;

@Data
//@ToString
//@NoArgsConstructor
//@AllArgsConstructor
public class MessageInfo {
    // 可以单独给方法加
//    @Setter
//    @Getter
    private String from;
//    @Getter
    private String to;
//    @Setter
    private String msg;

//    public MessageInfo(String from, String to, String msg) {
//        this.from = from;
//        this.to = to;
//        this.msg = msg;
//    }
}
